.TH std::swap(std::match_results) 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::swap(std::match_results) \- std::swap(std::match_results)

.SH Synopsis
   Defined in header <regex>
   template< class BidirIt, class Alloc >

   void swap( match_results<BidirIt,Alloc>& x1,             \fI(since C++11)\fP

              match_results<BidirIt,Alloc>& x2 ) noexcept;

   Specializes the std::swap algorithm for std::match_results. Exchanges the contents
   of x1 with those of x2. Effectively calls x1.swap(x2).

.SH Parameters

   x1, x2  -  the match_results objects whose contents will be swapped
.SH Type requirements
   -
   BidirIt must meet the requirements of LegacyBidirectionalIterator.
   -
   Alloc must meet the requirements of Allocator.

.SH Return value

   \fI(none)\fP

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   swap swaps the contents
        \fI(public member function)\fP

.SH Category:
     * Todo no example
